#include <bits/stdc++.h>
using namespace std;

const int N = 1e5+5;
int n,a[N];

int main(){
	freopen("duel.in","r",stdin);
	freopen("duel.out","w",stdout);
	scanf("%d",&n);
	for(int i = 1,r; i <= n; ++i){
		scanf("%d",&r);
		a[r]++;
	}
	int res = 0;
	for(int i = 1; i <= 100000; ++i){
		if(a[i] > a[res]){
			res = i;
		}
	}
	printf("%d",a[res]);
	return 0;
}
